<?php
    /**
     * Created by PhpStorm.
     * User: lance
     * Date: 2017/11/1
     * Time: 10:33
     */

    namespace app\leader\validate;
    use think\Validate;

    /**
     * 客户经理验证
     * Class Manager
     * @package app\manager\validate
     */
    class Manager extends Validate
    {
        protected $rule = [
            'department|部门' => 'require',
            'name|姓名' => 'require',
            'number|柜员号' => 'require',
            'cert_number|身份证号' => 'require',
            'tel_number|联系电话' => 'require'
        ];
        protected $scene = [
            'update' => ['department','name','cert_number','tel_number']
        ];
    }